real numbers
real number,
reals,
real
#analysis
#analysis
Definition (Cantor construction)
The set of real numbers, may be defined as the set of equivalence classes of Cauchy sequences of rational numbers under the equivalence relation if the interleave sequence of the two sequences is itself a Cauchy sequence.
Lean4 representation
/-- The type `ℝ` of real numbers constructed as equivalence classes of Cauchy sequences of rational numbers. -/
structure Real where ofCauchy ::
/-- The underlying Cauchy completion -/
cauchy : CauSeq.Completion.Cauchy (abs : ℚ → ℚ)
Notes
- there are different equivalent constructions
- these constructions demonstrate satisfaction of axiomatic requirements for reals
- rational numbers are dense in the reals
References
- https://planetmath.org/realnumber
- https://ncatlab.org/nlab/show/real+number
- https://blog.richmond.edu/math320/2017/09/22/cantors-construction-of-the-real-numbers/
- https://web.archive.org/web/20180712113707/http://www.math.uni-konstanz.de:80/~krapp/Constructions_of_the_real_numbers.pdf
- https://mathworld.wolfram.com/RealNumber.html
- https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Real/Basic.html